home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
geom
/
geomeqns.sty
< prev
next >
Wrap
Text File
|
1993-01-11
|
2KB
|
44 lines
% $Header: /a/tampa/h/tampa_a/fac/levy/texts/geombook/RCS/geomeqns.sty,v 1.5 92/07/13 21:54:29 levy Exp $
% format equation numbers like subsection numbers
\def\@eqnnum{\hbox{\normalshape\bf \theequation.}}
% set equations on left side
\def\equation{$$ % $$ BRACE MATCHING HACK
\def\object@type{equation}\refstepcounter{equation}}
\def\endequation{\leqno \@eqnnum % $$ BRACE MATCHING HACK
$$\global\@ignoretrue}
\def\eqnarray{\def\object@type{equation}\stepcounter{equation}%
\edef\@currentlabel{\theequation}
\global\@eqnswtrue\global\@eqcnt\z@\tabskip\@centering\let\\=\@eqncr
$$\halign to\displaywidth\bgroup\@eqnsel\hskip\@centering % $$BRACE MATCHING
$\displaystyle\tabskip\z@{##}$&\global\@eqcnt\@ne\hfil${}##{}$\hfil
&\global\@eqcnt\tw@ $\displaystyle\tabskip\z@{##}$\hfil
\tabskip\@centering&\llap{##}\tabskip\z@\cr}
\def\endeqnarray{\@@eqncr\egroup
\global\advance\c@equation\m@ne$$\global\@ignoretrue}
\def\@@eqncr{\let\@tempa\relax
\ifcase\@eqcnt \def\@tempa{& & &}\or \def\@tempa{& &}
\else \def\@tempa{&}\fi
\@tempa
\if@eqnsw\hbox to .01pt{}\rlap{\rm \hskip -\displaywidth\@eqnnum}%
\stepcounter{equation}\fi
\global\@eqnswtrue\global\@eqcnt\z@\cr}
% $Log: geomeqns.sty,v $
%Revision 1.5 92/07/13 21:54:29 levy
%further cleaned up the environments
%
%Revision 1.4 92/07/13 08:46:04 levy
%theoremSt -> Theorem
%
%Revision 1.3 92/04/02 09:08:39 levy
%*** empty log message ***
%
%Revision 1.2 1992/03/20 19:17:42 levy
%*** empty log message ***
%